package com.kgc.scd.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * shop_coupon
 * @author 
 */
@Data
public class ShopCouponVO {
    @ApiModelProperty(value = "编号")
    private String id;
    @ApiModelProperty(value = "名字")
    private String name;

    /**
     * 优惠价格
     */
    @ApiModelProperty(value = "优惠价格")
    private double typeMoney;

    /**
     * 最低价格优惠
     */
    @ApiModelProperty(value = "最低价格优惠")
    private double minGoodsAmount;

    @ApiModelProperty(value = "过期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date expirationTime;


    /**
     * 需要的积分
     */
    @ApiModelProperty(value = "需要的积分")
    private int needIntegration;

    /**
     * 数量
     */

    @ApiModelProperty(value = "数量")
    private int num;

    /**
     * 种类
     */

    @ApiModelProperty(value = "种类")
    private String categoryId;



}